package com.thkj.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.thkj.entity.RequestLog;
import com.thkj.service.RequestLogService;

import dp.dao.PagingList;
import com.thkj.framework.base.BaseService;

@Service
public class RequestLogServiceImpl extends BaseService implements RequestLogService {
    @Override
    public void insert(RequestLog t) {
        dao.insert("com.thkj.mapper.RequestLog.insert", t);
    }

    @Override
    public PagingList<Map> getRequestLogs(Map param, int page, int size) {
        return dao.queryForPagingList("com.thkj.mapper.RequestLog.getRequestLogs", param, page, size, Map.class);
    }

}
